package com.emm.yixun.common.app;

import com.emm.yixun.common.app.annotation.TYWValid;

import java.io.Serializable;

/**
 * @author suhong
 * @version V1.0
 * @Title: M2
 * @Package com.emm.yixun.common.app
 * @Description:
 * @date 2019/07/29 16:43
 */
public class CustomerEditDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 名称：版本
     * 描述：
     * 版本
     **/
    @TYWValid(min = 1, max = 8)
    private String version;

    /**
     * 设备号
     */
    @TYWValid(min = 1, max = 100)
    private String terminalCode;

    /**
     * 名称：商家Id
     * 描述：
     * 商家Id
     **/
    @TYWValid(min = 1, max = 20)
    private Long merchantId;

    /**
     * 业务：01、客户
     */
    @TYWValid(min = 1, max = 2)
    private String busNum;

    /**
     * 业务类型：1、获知途径；2、客户性质；3、置业动机；4关注重点；5、需求楼层；6、生活服务；
     * 7、生活配套；8、庭院具备功能；9、家庭结构；10、物业类型；11、首次接触方式；12、证件类型；
     * 13、车驾品牌；14、乐于参加的活动类型；15、兴趣爱好；16、日常信息获知途径；17、目前居住的户型结构
     */
    @TYWValid(min = 0, max = 20)
    private String busNumType;

    /**
     * 项目ID
     */
    @TYWValid(min = 0, max = 20)
    private Long projectId;

    private Long customerId;

    private Long userId;

    private String token;

    private String projectCode;

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    /**
     * 资源编码
     */
    private String code;

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getTerminalCode() {
        return terminalCode;
    }

    public void setTerminalCode(String terminalCode) {
        this.terminalCode = terminalCode;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getBusNum() {
        return busNum;
    }

    public void setBusNum(String busNum) {
        this.busNum = busNum;
    }

    public String getBusNumType() {
        return busNumType;
    }

    public void setBusNumType(String busNumType) {
        this.busNumType = busNumType;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
